package com.yonyou.distribute;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 导入了jdbc的包，但是没有配置数据源,用这种方式先排除
 */
//@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@SpringBootApplication
@MapperScan("com.yonyou.distribute.mapper")
public class GuiguLockApplication {

    public static void main(String[] args) {
        SpringApplication.run(GuiguLockApplication.class, args);
    }

}
